//
//  EJSGoodsCCell.h
//  EnjoyShoppingStreet
//
//  Created by lifayu on 2017/12/20.
//  Copyright © 2017年 lifayu. All rights reserved.
//

#import <UIKit/UIKit.h>
@class EJSGoodsModel,EJSAddCartButton,EJSGoodsCCell;

@protocol EJSGoodsCellGestionDelegate<NSObject>
- (void)goodsCell:(EJSGoodsCCell *)cell addGoodsNum:(EJSGoodsModel *)model;

@end

@interface EJSGoodsCCell : UICollectionViewCell
//@property (weak, nonatomic) IBOutlet UIImageView *rebateImageView;
//@property (weak, nonatomic) IBOutlet UIImageView *hotImageView;


@property (weak, nonatomic) IBOutlet EJSAddCartButton *addCartButton;
@property (weak, nonatomic) IBOutlet UILabel *addedCountLabel;
@property (weak, nonatomic) IBOutlet UILabel *pakageLabel;
@property (weak, nonatomic) IBOutlet UIImageView *goodsImageView;
@property (weak, nonatomic) IBOutlet UILabel *goodsNameLabel;
@property (weak, nonatomic) IBOutlet UILabel *priceLabel;
@property(nonatomic, assign) BOOL isHorizontal;

@property (weak, nonatomic) id<EJSGoodsCellGestionDelegate> delegate;
StrongProperty EJSGoodsModel *model;
- (void)setGoodsModel:(EJSGoodsModel *)goodsModel;
@end
